﻿@model NetSurveillance.WebApp.DataServices.Models.SetupWizard
@{
    ViewBag.Title = string.Format(Resources.MenuResource.SetupWizard_PcapUpload, ViewBag.Step ?? string.Empty);
    Layout = "~/Views/Shared/_SetupWizardLayout.cshtml";
}
@using (Html.BeginForm("PcapUpload", "SetupWizard", FormMethod.Post, new { enctype = "multipart/form-data" }))
{
    @Html.ValidationSummary()
    <table>
        <tr>
            <td>离线数据包:</td>
            <td>
                <input name="pcapFile" type="file" />
            </td>
        </tr>
    </table>
    <div class="buttonsContain controlBottom">
        <div class="rightContain">
            <input id="btnPreStep" type="button" value="@Resources.Resource.Button_PreStep" />
            <input id="btnSubmit" type="submit" value="@Resources.Resource.Button_NextStep" />
        </div>
    </div>
}

@section javascript
{
    <script type="text/javascript">
        $(function() {
            $('#btnPreStep').click(function() {
                window.location.href = '@Url.Action("NetAccessType")';
                return false;
            });
        })
    </script>
}
